<template>
	<view class="demo-main">
		<view class="scroll-wrapper">
			<image src="/static/images/logo.png" class="logo"></image>
			<div class="title">{{title}}，懵逼小前端</div>
			<div class="bg"></div>
			<button class="btn" @tap="clickAction()">跳转</button>

			<view>
				<div class="box">
					<ul>
						<li>
							<span>
								11111
							</span>
							<span>
								2222
							</span>
						</li>
					</ul>
				</div>
			</view>

		</view>
	</view>
</template>

<script lang="ts">
	import Vue from 'vue';
	import util from '@/static/js/util'
	export default Vue.extend({
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad(option: any) {
			const me: any = this
			let query = me.$route
			console.log(option, query)

		},
		methods: {
			clickAction() {
				console.log('=======')
				util.jumpPage('/pages/index/index?id=321', 'tabBar')
			}
		}
	});
</script>

<style lang="scss">
	@import "./demo.scss";
</style>
